package com.anjubao.parking.municipal.user.model;

import com.anjubao.parking.municipal.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 用户车牌号
 *
 * @author zhuchunfeng
 */
@Getter
@Setter
@TableName("user_vehicle")
@ApiModel(value="UserVehicle",description = "用户车牌号")
@Accessors(chain = true)
public class UserVehicle extends BaseEntity<UserVehicle>{

    @TableField(value="id")
    @ApiModelProperty(name="id",value = "主键ID，flowsnake算法，转成string")
    private Long id;

    @TableField(value="user_id")
    @ApiModelProperty(name="userId",value = "用户ID")
    private Long userId;

    @TableField(value="vehicle")
    @ApiModelProperty(name="vehicle",value = "车牌号")
    private String vehicle;

    @TableField(value="vehicle_type")
    @ApiModelProperty(name="vehicleType",value = "车牌类型 1汽油车 2新能源")
    private Integer vehicleType;

    @TableField(value="note")
    @ApiModelProperty(name="note",value = "备注")
    private String note;


}